package com.aaa.dao;

import com.aaa.entity.Dept;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;
@Repository(value = "dept")
public interface DeptDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Dept record);

    int insertSelective(Dept record);

    Dept selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);

    List<Dept> findAll();

}